﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    
    // 记录等前登陆用户信息
    public static class User
    {
        private static int userid;
        private static string username;
        private static string userrole;
        private static string ipaddress;
        private static string password;

        public static int UserID
        {
            get
            {
                return userid;
            }
            set
            {
                userid = value;
            }
        }

        public static string Username
        {
            get
            {
                return username;
            }
            set
            {
                username = value;
            }
        }

        public static string Userrole
        {
            get
            {
                return userrole;
            }
            set
            {
                userrole = value;
            }
        }

        public static string IPAddress
        {
            get
            {
                return ipaddress;
            }
            set
            {
                ipaddress = value;
            }
        }

        public static string Password
        {
            get
            {
                return password;
            }
            set
            {
                password = value;
            }
        }


    }

        
}
